﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ShopOnline.Models.SentMail>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	LIÊN HỆ
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <link href="../../Content/Styles/validationEngine.jquery.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validationEngine-en.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validationEngine.js" type="text/javascript"></script>
         <script>
             jQuery(document).ready(function () {
                 // binds form submission and fields to the validation engine
                 jQuery("#formID").validationEngine();
             });         
        </script>

   
    <% ShopOnline.Models.Contact contact= (ShopOnline.Models.Contact)ViewData["contact"]; %>
    <!-- start new_orther-->
                <div class="new_orther">
                    <div class="new_orther_top">
                       <div class="title_project1">LIÊN HỆ</div>
                    </div>
                    <div class="new_orther_center">
   
        <div class="display-field"><%= Html.Encode(contact.companyName)%></div>

        <div class="display-field"><%= Html.Encode(contact.address)%></div>
        
        <div class="display-field"><%= Html.Encode(contact.phone)%></div>

        <div class="display-field"><%= Html.Encode(contact.fax)%></div>

        <div class="display-field"><%= Html.Encode(contact.email)%></div>

        <div class="display-field"><%= Html.Encode(contact.website)%></div>
        
    
    <div class="contactimg"><img src="../../Content/Images/contacticon.jpg" /></div>
    <form method="post" enctype="multipart/form-data" id="formID" class="formular">
    <table width="atauto" border="0" class="tblsendmail">
  <tr class="rowsd">
    <td>Họ và Tên             </td>
    <td>(*)</td>
    <td><input type="text" id="Text1" name="name" class='validate[required] text-input' size="30" /></td>
  </tr>
  <tr class="rowsd">
    <td>Địa Chỉ</td>
    <td>(*)</td>
   <td><input type="text" id="Text2" name="address" class='validate[required] text-input' size="30" /></td>
  </tr>
  <tr class="rowsd">
    <td>Điện thoại</td>
   <td>(*)</td>
   <td> <input type="text" id="Text3" name="phone" class='validate[required] text-input' size="30" /></td>
  </tr>
  <tr class="rowsd">
    <td>Email</td>
    <td>(*)</td>
  <td><input type="text" id="Text4" name="email" class='validate[required] text-input' size="30" /></td>
  </tr>
  <tr class="rowsd">
    <td>Tiêu đề bài viết</td>
   <td>(*)</td>
  <td><input type="text" id="Text5" name="title" class='validate[required] text-input' size="30" /></td>
  </tr>
  <tr class="rowsd">
    <td>Nội dung</td>
    <td></td>
  <td><textarea id="Textarea2" name="body"  style = "width: 400px; height:150px;"  class='validate[required] text-input' ></textarea></td>
  </tr>
</table>
    
           
           <div class="sendmail">
                <input type="submit" value="SendMail" />
            </div>
      
</form>
  </div>
                
                </div>
                <!-- end new orther-->	
    

</asp:Content>

